package com.whitlock.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.whitlock.backend.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Whitlock
 * @date 2020/7/9   10:41 上午
 */
@Data
@TableName("tk_permission")
public class TKPermission extends BaseEntity implements Serializable {

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id", name = "id",hidden = true)
    private String id;

    @ApiModelProperty(value = "权限名", name = "permissionName")
    private String permissionName;

    @ApiModelProperty(value = "权限值", name = "permissionValue")
    private String permissionValue;

    @ApiModelProperty(value = "父节点", name = "parentId")
    private String parentId;

    @ApiModelProperty(value = "url", name = "url")
    private String url;

}
